package com.ssx.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ssx
 * @since 2020-10-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("roleId")
    private Integer roleId;

    @TableField("roleName")
    private String roleName;

    @TableField("roleInfo")
    private String roleInfo;


    public Role(Integer roleId, String roleName, String roleInfo) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleInfo = roleInfo;
    }
}
